﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageModule.ModuleConfig
{
    public class SkuTab
    {
        [NullValidate("shop.page.tab.key.null")]
        public string TabKey { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [NullValidate("shop.page.tab.name.null")]
        [LenValidate("shop.page.tab.name.len", 2, 10)]
        public string TabName
        {
            get;
            set;
        }
        /// <summary>
        /// 呈现的商品
        /// </summary>
        [NullValidate("shop.page.goods.config.null")]
        public ChioseSkuConfig SkuConfig { get; set; }

    }
}
